home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000240_fdc@columbia.edu_Fri Jul 26 17:15:55 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  53 lines

  1. Article: 13553 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Help needed in setup of Host - dialin client
  6. Date: 26 Jul 2002 17:15:31 -0400
  7. Organization: Columbia University
  8. Lines: 36
  9. Message-ID: <ahse5j$6uc$1@watsol.cc.columbia.edu>
  10. References: <71dc564d.0207261309.7bfa937a@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1027718133 8584 128.59.39.139 (26 Jul 2002 21:15:33 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 26 Jul 2002 21:15:33 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13553
  16.  
  17. In article <71dc564d.0207261309.7bfa937a@posting.google.com>,
  18. chuck <greg180@aol.com> wrote:
  19. : Stuck on a seemingly simple problem.  We want to use KERMIT to
  20. : transfer files between two dialed up machines.  The client will dail
  21. : the host
  22. : and have a set of files to send and will , in the same session 
  23. : want to receive files from the host.
  24. : I believe I have the HOST side setup.
  25. : I used the scripts HOSTMDM.KSC, HOSTMODE.KSC (with mods to skip the
  26. : prompts)
  27. :  and HOST.KSC.
  28. : I seem to be missing something.
  29. :
  30. You're probably doing too much.  Just have your server-side script
  31. set the appropriate communication parameters, wait for the call to
  32. come in (ANSWER 0), then enter server mode.  Then you can drive
  33. everything from the client.  Example:
  34.  
  35.   cd some-directory
  36.   set port tapi
  37.   set speed 57600
  38.   answer 0
  39.   if success server
  40.  
  41. If you want to keep accepting calls:
  42.  
  43.   while true {
  44.       answer 0
  45.       if success server
  46.   }
  47.   
  48. Further elaborations are possible.
  49.  
  50. - Frank
  51.